package d2_reflect_test;

import myreflect5.Teacher;
import org.junit.Test;

import java.io.IOException;

/**
 * @Author: Cjj
 * @Date: 2025/5/5
 * @Description: ObjectFrame
 */
public class ObjectFrame {
    @Test
    public void saveObject() {
        try {
            Teacher.saveObject(new Teacher());
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

    public static void main(String [] args){
        ObjectFrame frame = new ObjectFrame();
        frame.saveObject();
    }
}
